package com.room.search.service.dto;

import java.util.List;

/**
 * By   : ghd.bright
 * Time : 2022/3/22
 * Description: 首页展示二手房和新房信息
 */
public class IndexRoomDTO {
    private List<RoomGoodsDTO> secondRooms;
    private List<RoomGoodsDTO> rentRooms;
    private List<RoomGoodsDTO> newRooms;

    public IndexRoomDTO(List<RoomGoodsDTO> secondRooms, List<RoomGoodsDTO> rentRooms) {
        this.secondRooms = secondRooms;
        this.rentRooms = rentRooms;
    }

    public IndexRoomDTO(List<RoomGoodsDTO> secondRooms, List<RoomGoodsDTO> rentRooms, List<RoomGoodsDTO> newRooms) {
        this.secondRooms = secondRooms;
        this.rentRooms = rentRooms;
        this.newRooms = newRooms;
    }

    public List<RoomGoodsDTO> getSecondRooms() {
        return secondRooms;
    }

    public void setSecondRooms(List<RoomGoodsDTO> secondRooms) {
        this.secondRooms = secondRooms;
    }

    public List<RoomGoodsDTO> getRentRooms() {
        return rentRooms;
    }

    public void setRentRooms(List<RoomGoodsDTO> rentRooms) {
        this.rentRooms = rentRooms;
    }

    public List<RoomGoodsDTO> getNewRooms() {
        return newRooms;
    }

    public void setNewRooms(List<RoomGoodsDTO> newRooms) {
        this.newRooms = newRooms;
    }
}
